package com.bckj.fastboot.iot.common.repository;

import com.bckj.fastboot.core.lang.model.PageResult;
import com.bckj.fastboot.iot.common.dto.query.IotDeviceStatusRecordQuery;
import com.bckj.fastboot.iot.common.dto.request.IotDeviceStatusRecordRequest;
import com.bckj.fastboot.iot.common.dto.response.IotDeviceStatusRecordResponse;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * IotDeviceStatusRecordRepository
 *
 * @author wfc
 * @date 2025/10/13 11:25
 **/
public interface IotDeviceStatusRecordRepository {

    List<IotDeviceStatusRecordResponse> findList(IotDeviceStatusRecordQuery query);

    PageResult<IotDeviceStatusRecordResponse> page(Pageable page, IotDeviceStatusRecordQuery query);

    boolean save(IotDeviceStatusRecordRequest request);

}
